package com.example.order;

import java.util.List;

public class ShopBean {


    /**
     * id : 4
     * shopName : 艾尚夜宵
     * saleNum : 496
     * offerPrice : 20
     * distributionCost : 13
     * welfare : 下单即可获得一个￥15优惠券
     * time : 配送约42分钟
     * shopPic : http://172.16.43.110:8080/order/img/shop/shop4.png
     * shopNotice : 公告：本店赠送爱心早餐。
     * foodList : [{"foodId":"1","foodName":"烤牛肉炒饭","taste":"原味、牛肉、玉米、豌豆、胡萝卜","saleNum":"102","price":18.8,"count":0,"foodPic":"http://172.16.43.110:8080/order/img/food/food41.png"},{"foodId":"2","foodName":"嫩豆腐汤+米饭","taste":"香辣、豆腐花、鸡蛋","saleNum":"66","price":14.5,"count":0,"foodPic":"http://172.16.43.110:8080/order/img/food/food42.png"},{"foodId":"3","foodName":"超辣-酸辣土豆丝","taste":"酸辣、土豆、青尖椒","saleNum":"59","price":14,"count":0,"foodPic":"http://172.16.43.110:8080/order/img/food/food43.png"}]
     */

    private int id;
    private String shopName;
    private int saleNum;
    private int offerPrice;
    private int distributionCost;
    private String welfare;
    private String time;
    private String shopPic;
    private String shopNotice;
    private List<FoodBean> foodList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(int saleNum) {
        this.saleNum = saleNum;
    }

    public int getOfferPrice() {
        return offerPrice;
    }

    public void setOfferPrice(int offerPrice) {
        this.offerPrice = offerPrice;
    }

    public int getDistributionCost() {
        return distributionCost;
    }

    public void setDistributionCost(int distributionCost) {
        this.distributionCost = distributionCost;
    }

    public String getWelfare() {
        return welfare;
    }

    public void setWelfare(String welfare) {
        this.welfare = welfare;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getShopPic() {
        return shopPic;
    }

    public void setShopPic(String shopPic) {
        this.shopPic = shopPic;
    }

    public String getShopNotice() {
        return shopNotice;
    }

    public void setShopNotice(String shopNotice) {
        this.shopNotice = shopNotice;
    }

    public List<FoodBean> getFoodList() {
        return foodList;
    }

    public void setFoodList(List<FoodBean> foodList) {
        this.foodList = foodList;
    }

    public static class FoodBean {
        /**
         * foodId : 1
         * foodName : 烤牛肉炒饭
         * taste : 原味、牛肉、玉米、豌豆、胡萝卜
         * saleNum : 102
         * price : 18.8
         * count : 0
         * foodPic : http://172.16.43.110:8080/order/img/food/food41.png
         */

        private String foodId;
        private String foodName;
        private String taste;
        private String saleNum;
        private double price;
        private int count;
        private String foodPic;

        public String getFoodId() {
            return foodId;
        }

        public void setFoodId(String foodId) {
            this.foodId = foodId;
        }

        public String getFoodName() {
            return foodName;
        }

        public void setFoodName(String foodName) {
            this.foodName = foodName;
        }

        public String getTaste() {
            return taste;
        }

        public void setTaste(String taste) {
            this.taste = taste;
        }

        public String getSaleNum() {
            return saleNum;
        }

        public void setSaleNum(String saleNum) {
            this.saleNum = saleNum;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getFoodPic() {
            return foodPic;
        }

        public void setFoodPic(String foodPic) {
            this.foodPic = foodPic;
        }
    }
}
